package me.yxy.mobanddd.domain.events;

import lombok.Getter;
import lombok.ToString;
import org.springframework.context.ApplicationEvent;

/**
 * 调度单所绑定的运单列表发生变更的事件
 */
@ToString
public class ShipmentOrdersChangedEvent extends ApplicationEvent {

    @Getter
    private Long shipmentId;

    public ShipmentOrdersChangedEvent(Object source, Long shipmentId) {
        super(source);
        this.shipmentId = shipmentId;
    }

}
